package com.ruoyi.statement.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author fuzhen-pc
 * @description TODO
 * @date 2023/6/25 14:59
 */
@Data
@TableName("BILL_STATEMENT_COLLECTION")
@KeySequence("SEQ_BILL_STATEMENT")
public class BillStatement extends BaseEntity {

    // 主键
    @TableId(type = IdType.INPUT, value = "BILL_STATEMENT_ID")
    private Long billStatementId;
    
    // 对账单总计金额
    @TableField(exist = false)
    private BigDecimal sumAmount;
    
    // 业务数据
    @TableField(exist = false)
    private String projectData;
    
    // 币别
    @TableField(exist = false)
    private String currency;

    //结算单状态
    private String statementStatus;

    //委托方ID
    private String customerCod;

    //委托方名称
    private String customerNam;

    //经办部门
    private String deptId;

    //对账单号
    private String statementNo;

    //备注
    private String remark;

    //确认操作人
    private String confirmName;

    //确认时间
    private Date confirmTime;

    //删除标志
    @TableLogic
    private String delFlag;

    @TableField(fill = FieldFill.INSERT)
    private String companyCod;


}
